module.exports = {
  css: {
    loaderOptions: {
      postcss: {
        // 这里的选项会传递给 postcss-loader
        plugins: [
          require('postcss-px2rem')({ remUnit: 37.5 })
        ]
      }
    }
  },
  devServer: {
    port: 3000,
    open: true
  }
}
